package com.itheima_05;


public class Test {
    public static void main(String[] args) {
        MyThread mt = new MyThread();
        MyThread mt1 = new MyThread();
        MyThread mt2 = new MyThread();


         /*Thread t1 =new Thread(mt);
         Thread t2 =new Thread(mt1);
         Thread t3 =new Thread(mt2);*/

        mt.setName("窗口一");
        mt1.setName("窗口二");
        mt2.setName("窗口三");

        mt.start();
        mt1.start();
        mt2.start();

    }
}
